define([],function(){
       
       var navigator = {
       "description": "浏览器信息",
       
       setFullscreen:function (fullscreen){
       cordova.exec(function(){console.log('setFullscreen 成功');},function(){console.log('setFullscreen 失败');},"Navigator","setFullscreen",[fullscreen]);
       },
       setStatusBarBackground:function (rgb)
       {
       cordova.exec(function(){console.log('setStatusBarBackground 成功');},function(){console.log('setStatusBarBackground 失败');},"Navigator","setStatusBarBackground",[rgb]);

       },
       setStatusBarStyle:function (style)
       {
       cordova.exec(function(){console.log('setStatusBarStyle 成功');},function(){console.log('setStatusBarStyle 失败');},"Navigator","setStatusBarStyle",[style]);
       },
       
       isFullscreen:function(onSuccess)
       {
       cordova.exec(onSuccess,function(){console.log('isFullscreen 失败');},"Navigator","isFullscreen");

       },
       
       getStatusBarStyle:function(onSuccess)
       {
       cordova.exec(onSuccess,function(){console.log('getStatusBarStyle 失败');},"Navigator","getStatusBarStyle");

       },
       
       getStatusBarBackground:function(onSuccess)
       {
       cordova.exec(onSuccess,function(){console.log('getStatusBarBackground 失败');},"Navigator","getStatusBarBackground");
       },
       setCookie:function(url,value)
       {
       cordova.exec(function(){console.log('setCookie 成功');},function(){console.log('setCookie 失败');},"Navigator","setCookie",[url,value]);
       },
       
       getCookie:function(onSuccess,url)
       {
       cordova.exec(onSuccess,function(){console.log('getCookie 失败');},"Navigator","getCookie",[url]);
       },
       
       removeAllCookie:function()
       {
       cordova.exec(function(){console.log('removeAllCookie 成功');},function(){console.log('removeAllCookie 失败');},"Navigator","removeAllCookie");
       },
       
       removeCookie:function(url)
       {
       cordova.exec(function(){console.log('removeCookie 成功');},function(){console.log('removeCookie 失败');},"Navigator","removeCookie",[url]);
       },
       
       removeSessionCookie:function()
       {
       cordova.exec(function(){console.log('removeSessionCookie 成功');},function(){console.log('removeSessionCookie 失败');},"Navigator","removeSessionCookie");
       },
       
       
       
       };
       
       return navigator;
       
       });
